﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="REVISAODataSet" targetNamespace="http://tempuri.org/REVISAODataSet.xsd" xmlns:mstns="http://tempuri.org/REVISAODataSet.xsd" xmlns="http://tempuri.org/REVISAODataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="GERENCIAMENTOConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="GERENCIAMENTOConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.LUIZ.My.MySettings.GlobalReference.Default.GERENCIAMENTOConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="REVISAOTableAdapter" GeneratorDataComponentClassName="REVISAOTableAdapter" Name="REVISAO" UserDataComponentName="REVISAOTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="GERENCIAMENTOConnectionString (MySettings)" DbObjectName="REVISAO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [REVISAO] WHERE (([ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [REVISAO] ([PLACA], [MODELO], [KM], [CLIENTE], [MOTORISTA], [TELMOT], [EMAILMOT], [CIDADEAGENDA], [REVISAO], [CONCESSTEL], [AGENDAMENTO], [STATUS], [OBS]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PLACA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MODELO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CLIENTE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOTORISTA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TELMOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EMAILMOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CIDADEAGENDA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="REVISAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CONCESSTEL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p13" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OBS" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [ID], [PLACA], [MODELO], [KM], [CLIENTE], [MOTORISTA], [TELMOT], [EMAILMOT], [CIDADEAGENDA], [REVISAO], [CONCESSTEL], [AGENDAMENTO], [STATUS], [OBS] FROM [REVISAO]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [REVISAO] SET [PLACA] = @p1, [MODELO] = @p2, [KM] = @p3, [CLIENTE] = @p4, [MOTORISTA] = @p5, [TELMOT] = @p6, [EMAILMOT] = @p7, [CIDADEAGENDA] = @p8, [REVISAO] = @p9, [CONCESSTEL] = @p10, [AGENDAMENTO] = @p11, [STATUS] = @p12, [OBS] = @p13 WHERE (([ID] = @p14))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PLACA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MODELO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CLIENTE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOTORISTA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TELMOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EMAILMOT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CIDADEAGENDA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="REVISAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p10" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CONCESSTEL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p11" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p12" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p13" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OBS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p14" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="PLACA" DataSetColumn="PLACA" />
              <Mapping SourceColumn="MODELO" DataSetColumn="MODELO" />
              <Mapping SourceColumn="KM" DataSetColumn="KM" />
              <Mapping SourceColumn="CLIENTE" DataSetColumn="CLIENTE" />
              <Mapping SourceColumn="MOTORISTA" DataSetColumn="MOTORISTA" />
              <Mapping SourceColumn="TELMOT" DataSetColumn="TELMOT" />
              <Mapping SourceColumn="EMAILMOT" DataSetColumn="EMAILMOT" />
              <Mapping SourceColumn="CIDADEAGENDA" DataSetColumn="CIDADEAGENDA" />
              <Mapping SourceColumn="REVISAO" DataSetColumn="REVISAO" />
              <Mapping SourceColumn="CONCESSTEL" DataSetColumn="CONCESSTEL" />
              <Mapping SourceColumn="AGENDAMENTO" DataSetColumn="AGENDAMENTO" />
              <Mapping SourceColumn="STATUS" DataSetColumn="STATUS" />
              <Mapping SourceColumn="OBS" DataSetColumn="OBS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="GERENCIAMENTOConnectionString (MySettings)" DbObjectName="REVISAO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAGENDAMENTO" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillByAGENDAMENTO" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByAGENDAMENTO">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID, PLACA, MODELO, KM, CLIENTE, MOTORISTA, TELMOT, EMAILMOT, CIDADEAGENDA, REVISAO, CONCESSTEL, AGENDAMENTO, STATUS, OBS
FROM            REVISAO
WHERE        (AGENDAMENTO &lt; @DATA) AND (STATUS &lt;&gt;'REALIZADO')
ORDER BY AGENDAMENTO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA" ColumnName="AGENDAMENTO" DataSourceName="REVISAO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="GERENCIAMENTOConnectionString (MySettings)" DbObjectName="REVISAO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDIA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy3" GeneratorSourceName="FillByDIA" GetMethodModifier="Public" GetMethodName="GetDataBy3" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="FillByDIA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [ID], [PLACA], [MODELO], [KM], [CLIENTE], [MOTORISTA], [TELMOT], [EMAILMOT], [CIDADEAGENDA], [REVISAO], [CONCESSTEL], [AGENDAMENTO], [STATUS], 
                         [OBS]
FROM            [REVISAO]
WHERE        AGENDAMENTO = @DATA1 AND AGENDAMENTO &lt;@DATA2
ORDER BY AGENDAMENTO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA1" ColumnName="AGENDAMENTO" DataSourceName="REVISAO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA1" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="DATA2" ColumnName="AGENDAMENTO" DataSourceName="REVISAO" DataTypeServer="datetime(8)" DbType="DateTime" Direction="Input" ParameterName="@DATA2" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="AGENDAMENTO" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="GERENCIAMENTOConnectionString (MySettings)" DbObjectName="REVISAO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByPLACA" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="FillByPLACA" GetMethodModifier="Public" GetMethodName="GetDataBy1" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillByPLACA">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID, PLACA, MODELO, KM, CLIENTE, MOTORISTA, TELMOT, EMAILMOT, CIDADEAGENDA, REVISAO, CONCESSTEL, AGENDAMENTO, STATUS, OBS
FROM            REVISAO
WHERE        (PLACA = @PLACA)
ORDER BY AGENDAMENTO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="PLACA" ColumnName="PLACA" DataSourceName="REVISAO" DataTypeServer="nvarchar(8)" DbType="String" Direction="Input" ParameterName="@PLACA" Precision="0" ProviderType="NVarChar" Scale="0" Size="8" SourceColumn="PLACA" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="GERENCIAMENTOConnectionString (MySettings)" DbObjectName="REVISAO" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySTATUS" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="FillBySTATUS" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="FillBySTATUS">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT [ID], [PLACA], [MODELO], [KM], [CLIENTE], [MOTORISTA], [TELMOT], [EMAILMOT], [CIDADEAGENDA], [REVISAO], [CONCESSTEL], [AGENDAMENTO], [STATUS], [OBS] FROM [REVISAO]
WHERE STATUS = @STATUS
ORDER BY AGENDAMENTO</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="STATUS" ColumnName="STATUS" DataSourceName="REVISAO" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@STATUS" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="REVISAODataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="REVISAODataSet" msprop:Generator_UserDSName="REVISAODataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="REVISAO" msprop:Generator_TableClassName="REVISAODataTable" msprop:Generator_TableVarName="tableREVISAO" msprop:Generator_TablePropName="REVISAO" msprop:Generator_RowDeletingName="REVISAORowDeleting" msprop:Generator_UserTableName="REVISAO" msprop:Generator_RowChangingName="REVISAORowChanging" msprop:Generator_RowEvHandlerName="REVISAORowChangeEventHandler" msprop:Generator_RowDeletedName="REVISAORowDeleted" msprop:Generator_RowEvArgName="REVISAORowChangeEvent" msprop:Generator_RowChangedName="REVISAORowChanged" msprop:Generator_RowClassName="REVISAORow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="PLACA" msprop:Generator_ColumnVarNameInTable="columnPLACA" msprop:Generator_ColumnPropNameInRow="PLACA" msprop:Generator_ColumnPropNameInTable="PLACAColumn" msprop:Generator_UserColumnName="PLACA">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODELO" msprop:Generator_ColumnVarNameInTable="columnMODELO" msprop:Generator_ColumnPropNameInRow="MODELO" msprop:Generator_ColumnPropNameInTable="MODELOColumn" msprop:Generator_UserColumnName="MODELO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KM" msprop:Generator_ColumnVarNameInTable="columnKM" msprop:Generator_ColumnPropNameInRow="KM" msprop:Generator_ColumnPropNameInTable="KMColumn" msprop:Generator_UserColumnName="KM" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CLIENTE" msprop:Generator_ColumnVarNameInTable="columnCLIENTE" msprop:Generator_ColumnPropNameInRow="CLIENTE" msprop:Generator_ColumnPropNameInTable="CLIENTEColumn" msprop:Generator_UserColumnName="CLIENTE" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MOTORISTA" msprop:Generator_ColumnVarNameInTable="columnMOTORISTA" msprop:Generator_ColumnPropNameInRow="MOTORISTA" msprop:Generator_ColumnPropNameInTable="MOTORISTAColumn" msprop:Generator_UserColumnName="MOTORISTA" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TELMOT" msprop:Generator_ColumnVarNameInTable="columnTELMOT" msprop:Generator_ColumnPropNameInRow="TELMOT" msprop:Generator_ColumnPropNameInTable="TELMOTColumn" msprop:Generator_UserColumnName="TELMOT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EMAILMOT" msprop:Generator_ColumnVarNameInTable="columnEMAILMOT" msprop:Generator_ColumnPropNameInRow="EMAILMOT" msprop:Generator_ColumnPropNameInTable="EMAILMOTColumn" msprop:Generator_UserColumnName="EMAILMOT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CIDADEAGENDA" msprop:Generator_ColumnVarNameInTable="columnCIDADEAGENDA" msprop:Generator_ColumnPropNameInRow="CIDADEAGENDA" msprop:Generator_ColumnPropNameInTable="CIDADEAGENDAColumn" msprop:Generator_UserColumnName="CIDADEAGENDA" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="REVISAO" msprop:Generator_ColumnVarNameInTable="columnREVISAO" msprop:Generator_ColumnPropNameInRow="REVISAO" msprop:Generator_ColumnPropNameInTable="REVISAOColumn" msprop:Generator_UserColumnName="REVISAO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CONCESSTEL" msprop:Generator_ColumnVarNameInTable="columnCONCESSTEL" msprop:Generator_ColumnPropNameInRow="CONCESSTEL" msprop:Generator_ColumnPropNameInTable="CONCESSTELColumn" msprop:Generator_UserColumnName="CONCESSTEL" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AGENDAMENTO" msprop:Generator_ColumnVarNameInTable="columnAGENDAMENTO" msprop:Generator_ColumnPropNameInRow="AGENDAMENTO" msprop:Generator_ColumnPropNameInTable="AGENDAMENTOColumn" msprop:Generator_UserColumnName="AGENDAMENTO" type="xs:dateTime" minOccurs="0" />
              <xs:element name="STATUS" msprop:Generator_ColumnVarNameInTable="columnSTATUS" msprop:Generator_ColumnPropNameInRow="STATUS" msprop:Generator_ColumnPropNameInTable="STATUSColumn" msprop:Generator_UserColumnName="STATUS" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OBS" msprop:Generator_ColumnVarNameInTable="columnOBS" msprop:Generator_ColumnPropNameInRow="OBS" msprop:Generator_ColumnPropNameInTable="OBSColumn" msprop:Generator_UserColumnName="OBS" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:REVISAO" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>